Skip to main content
Version: 6.0.0-beta.3 - 6.0.0-beta.4

getAvailableUnfreezeCount

Query the number of times an account can operate UnFreezeBalanceV2 to unfreeze under the V2 interface. (v5.1.0 new interface)

Usage

tronWeb.trx.getAvailableUnfreezeCount('address', options);

Parameters

ParametersfParameter DescriptionType
addressaccount address (base58 or hex)String
optionsOptional. Default is { confirmed: true }. If options.confirmed is true, the result is queried from solidity node.{ confirmed: boolean }

Return

Object

Example

> const { count } = await tronWeb.trx.getAvailableUnfreezeCount('ownerAddress');
{
    "count": 32
}